#!/bin/sh
# Run jobs
#
if [ $# -lt 1 ]; then
   printf "usage: submit <S1> [<S2> .. <Sn>]\n"
   printf "  Where <Si> is an integer corresponding to the suffix\n"
   printf "  on the job*.pbs files.\n"
   exit 0
fi
for n in $*
do
	qsub job${n}.pbs
done
sleep 1
qstat -u dang
